<?php
//echo $this->Form->create();
$dmdforms=$formData['dmdforms'];
?>
    <fieldset>
        <legend><?php __('Add New Manager'); ?></legend>
<?php
             echo $this->Form->input('manager_name',array('label'=>__('Name',true)));
             echo $this->Form->input('manager_surname',array('label'=>__('Surname',true)));
             echo $this->Form->input('manager_id_code',array('label'=>__('Id Code',true)));
             echo $this->Form->input('manager_id_erp',array('label'=>__('Id Erp',true)));
             echo $this->Form->input('manager_mail',array('label'=>__('E-mail',true)));
?>           
            <h2 class="showNextDiv pointer"><?php __('Demand form for new Manager')  ?></h2>
            <div class="isHidden">
                <?php
                echo $this->Form->input('manager_created',array('type'=>'checkbox','label'=>__('Demand form for this new user created ?',true)));
                ?>
                <div class="managerHasDmdForm isHidden">
                    <?php
                    echo $this->Form->input('manager_dmdform',array('options'=>$dmdforms,'empty'=>'select','label'=>__('Demand form for this user',true)));
                    ?>
                </div>
            </div>
          
<?php
?>
    </fieldset>
<?php
//echo $this->Form->end('submit');
?>
